package com.hispot.download;

import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by admin on 2016/11/16.
 */
public abstract class DataBaseManager {

    public static DataBaseManager getDefault(SQLiteOpenHelper sqLiteOpenHelper){
        return new DataBaseManagerImp(sqLiteOpenHelper);
    }

    public abstract SQLiteDatabase openDataBase();

    public abstract void closeDataBase();

    public abstract void close();
}
